﻿using System.Linq;

namespace Cinema.Model.Interfaces
{
    public interface IRepository<T>
    {
        T Create(T entity);
        T Update(T entity);
        void Delete(T entity);
        void DeleteById(int id);
        T Read(int id);
        IQueryable<T> Read();
    }
}
